package com.example.booksystem.service;

import com.example.booksystem.mapper.UserMapper;
import com.example.booksystem.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public UserInfo getUserService(String name) {
        return userMapper.getUserMapper(name);
    }
}
